import request from '@/utils/request'

// 获取VEP结果列表
export function getVepResults(params) {
  return request({
    url: '/vep-results/',
    method: 'get',
    params
  })
}

// 获取VEP结果详情
export function getVepResult(id) {
  return request({
    url: `/vep-results/${id}`,
    method: 'get'
  })
}

// 创建VEP结果
export function createVepResult(data) {
  return request({
    url: '/vep-results/',
    method: 'post',
    data
  })
}

// 更新VEP结果
export function updateVepResult(id, data) {
  return request({
    url: `/vep-results/${id}`,
    method: 'put',
    data
  })
}

// 删除VEP结果
export function deleteVepResult(id) {
  return request({
    url: `/vep-results/${id}`,
    method: 'delete'
  })
} 